package cn.acmenms.mapper;

import cn.acmenms.po.model.WeekSignIn;
import cn.acmenms.po.query.SignInQuery;
import org.springframework.stereotype.Repository;

import java.util.List;
/**
 * @ClassName: SignInMapper
 * @Description: 签到操作
 * @author: 神奇的鸭鸭
 * @Date: 2018/02/09 12:59
 */
@Repository
public interface SignInMapper<T, Q> extends BaseMapper<T, Q> {

    /**
     * 获取一周的签到统计
     * @param query 查询对象
     * @return 一周签到统计
     */
    List<WeekSignIn> selectWeekSignInCount(SignInQuery query);
}